package io.itit.ecp.admin.provide.action.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.itit.grass.common.provide.action.resp.BaseResp;
import io.itit.grass.dict.starter.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * <p>
 *
 * @Author：Roy
 * @Description：设备管理-信息状态详情响应结果
 * @Date：Create by 2023-12-04 15:28:53
 */
@Data
@ToString
@ApiModel("设备管理-信息状态详情响应结果")
public class DeviceWarningPushUserResp extends BaseResp {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("状态(1:未读,2:已读)")
    @Dict(dictCode = "ecp-admin.earlyWarningRecord.status")
    private String status;

    @ApiModelProperty("用户Id")
    private String userId;

    @ApiModelProperty("用户名称")
    private String userName;

    @ApiModelProperty("查看时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date readDate;


}
